package org.truxingame.input;

public class GamePadButtons {
	Buttons buttons;

	GamePadButtons (Buttons b) {
		buttons = b;
	}
	
	public ButtonState getA(){
		return buttons.getPressed(Buttons.A);
	}
	public ButtonState getB(){
		return buttons.getPressed(Buttons.B);
	}
	public ButtonState getX(){
		return buttons.getPressed(Buttons.X);
	}
	public ButtonState getY(){
		return buttons.getPressed(Buttons.Y);
	}
	public ButtonState getStart(){
		return buttons.getPressed(Buttons.Start);
	}
	public ButtonState getBack(){
		return buttons.getPressed(Buttons.Back);
	}
	public ButtonState getLeftShoulder(){
		return buttons.getPressed(Buttons.LeftShoulder);
	}
	public ButtonState getRightShoulder(){
		return buttons.getPressed(Buttons.RightShoulder);
	}
	public ButtonState getLeftStick(){
		return buttons.getPressed(Buttons.LeftStick);
	}
	public ButtonState getRightStick(){
		return buttons.getPressed(Buttons.RightStick);
	}
}
